/**
 * 
 */
package model.trivial_pursuit;

import java.util.HashMap;

import model.Match;

/**
 * Classe de gestion d'une partie de Trivial Pursuit
 * @author Aubry Pirian
 */
public class TrivialPursuitMatch extends Match {
	
	private static final int GAME_ID = 1;
	
	public TrivialPursuitMatch(HashMap<String,Integer> start, HashMap<String,Integer> end, String creator) {
		super(GAME_ID,start,end,creator);
	}
	
	public TrivialPursuitMatch(HashMap<String,Integer> start, HashMap<String,Integer> end, int creatorId) {
		super(GAME_ID,start,end,creatorId);
	}
	
	
	public static void main(String[] args) {
		//FIXME : enlever ce main (juste un mauvais test)
		HashMap<String,Integer> start = new HashMap<String,Integer>();
		start.put("year",2008);
		start.put("month",3);
		start.put("minutes",1);
		HashMap<String,Integer> end = new HashMap<String,Integer>();
		end.put("year",2008);
		end.put("month",3);
		end.put("day",15);
		end.put("hours",12);
		end.put("minutes",32);
		end.put("seconds",79);
		TrivialPursuitMatch m = new TrivialPursuitMatch(start,end,1);
		m.save();
	}

}
